import request from "@/utils/request";
// 机构审核
export function auditingApply(data) {
  return request({
    url: "/api/user/auditingApply",
    method: "post",
    data,
  });
}

// 用户等级修改
export function userRankChange(data) {
  return request({
    url: "/api/user/userRankChange",
    method: "post",
    data,
  });
}

// 用户等级修改
export function userLock(id) {
  return request({
    url: "/api/user/userLock?userId=" + id,
    method: "get",
  });
}

// 平台数据统计
export function indexStat() {
  return request({
    url: "/api/stat/indexStat",
    method: "get",
  });
}
